package com.houpu.pojo;

import lombok.Data;
/*
 *产品类别
 */
import java.util.List;

@Data
public class Sort{
    private int s_id;
    private String s_name;
    private String s_remark;
    private int s_is;
//    private Product product;

    //封装产品类 一对多，使用集合封装
    private List<Product> listProduct;

    @Override
    public String toString() {
        return "Sort{" +
                "s_id=" + s_id +
                ", s_name='" + s_name + '\'' +
                ", s_remark='" + s_remark + '\'' +
                ", s_is=" + s_is +
                ", listProduct=" + listProduct.toString() +
                '}';
    }
}
